package com.qf.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Package: com.qf.pojo
 * @ClassName: Order
 * @Author: lmr
 * @CreateTime: 2021/9/11 16:57
 * @Description:订单
 * @Version: 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Order implements Serializable {
    private String oid;//订单id
    private Integer uid;//用户id
    private Integer goodId;//商品id
    private Integer colorId;//颜色
    private Integer count;//数量
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date creatTime;//创建时间
    private Integer orderStatus;//订单状态
}
